Computer science Lesson Plan
Class: 7th - Lesson:4 Variables and Operators

Purpose: Students should learn the usage of the controls available in Scratch. (Motion, Looks, Events, Variables,operators).

No. of Classes

One or two classes (Teacher's decision).

Materials Required

Scratch 3.0.

Prior knowledge

Computational Thinking Skills developed using problem-solving games without instructions. Understanding of Sprites, Backdrops and Costumes, sound.

Exercises

Exercise:1



  • Use the previous lesson’s exercise-1. Create a variable and name it as Bananas. When the monkey touches the banana, increase the variable by 1. You have to change the backdrop when the variable exceeds 10 and 15. Then finish the game when it exceeds 20. (Students can create their own games like Apple catching, dog chasing ball etc.)
  • Link to view the model video for exercise-1.

Exercise:2



Exercise:3



Solutions



  • Link to copy the solution program for exercise-1.
  • Link to copy the solution program for exercise-2.
  • Link to copy the solution program for exercise-3.

  • Teacher's Instrusction
    1. Teachers should teach the concept of programming.
    2. Teacher should teach all the operators in the operators blocks.
    3. Teachers should teach how to create Variables with examples.
    4. Teachers should teach how to initialize the value of Variables.
    5. POINTS TO PONDER :What is primitive variable and reference variable.
    6. Click here for more reference for this lesson.